import type { OrderParams } from '@/types/order'
import { request } from '@/utils/http'

/**
 * 生成待支付订单
 */
export const createOrderApi = (data: OrderParams) => {
  return request.post<null, { id: string }>('/patient/consult/order', data)
}
